 <% if @room.id.nil? %>
  $("#rooms").html("<%=j render 'rooms/room', room: @room %>");
<% end %>
// $(".form-rooms").remove();